package com.wanmait.houlang.mapper;

import com.wanmait.houlang.pojo.DTO;
import com.wanmait.houlang.pojo.School;

import java.util.List;

public interface SchoolMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(School record);

    int insertSelective(School record);

    School selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(School record);

    int updateByPrimaryKey(School record);

    List<School> findAll(DTO dto);

    School findById(Integer id);

    List<School> findByProfessionalId(String professionalId);

    List<School> searchSchoolByName(DTO dto);
}